<include file="public@header"/>
<style>
	table{ border:1px solid #000; width:80%; font-size:1rem; margin-bottom:20px}
	td{border:1px solid #000; padding:0 5px; height:2rem; text-align:center}
	
</style>
</head>
<body>
	<php>$page='';$vo['id']='';</php>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('Aftersale/paperwork')}">证件变更</a></li>
            <li class="active"><a href="{:url('Aftersale/paperloss')}">证件挂失</a></li>
		</ul>
        <form class="form-horizontal js-ajax-form" action="{:url('store/add_post')}" method="post" enctype="multipart/form-data">
        <fieldset>
        <div class="p_title">
                <span class="span_title">基本信息</span>
            </div>
            <div class="col-md-12" style="border:1px solid #e2e2e2; padding-top:20px;">
            	<div class="form-group">
                    <label class="control-label">客户姓名</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.buyer_name}" disabled>
                    </div>
                    <label class="control-label">持证类型</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{:cart_type('cart',$result.cart_type)}" disabled>
                    </div>
                    <label class="control-label">证件号码</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.customer_account}" disabled>
                    </div>
                    <label class="control-label">联系电话</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.buyer_phone}" disabled>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label">联系地址</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.customer_address}" disabled>
                    </div>
                    <label class="control-label">合同编号</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.contract_sn}" disabled>
                    </div>
                    <label class="control-label">墓位编号</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.tomb_num}" disabled>
                    </div>
					<label class="control-label">具体位置</label>
                    <div class="col-md-2">
                    	<input type="text" class="form-control" value="{$result.tomb_region}{$result.tomb_address}" disabled>
                    </div>
				</div>
                                
				<div class="form-group">
					<label class="control-label">墓穴规制</label>
                    <div class="col-md-2">
                    	<input type="text" class="form-control" value="{$result.tomb_regulation_name}" disabled>
                    </div>
					<label class="control-label">成交价格</label>
                    <div class="col-md-2">
                    	<input type="text" class="form-control" value="￥{$result.closing_price}" disabled>
                    </div>
                    <label class="control-label">购买日期</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" value="{$result.gm_start_time}" disabled>
                    </div>
					<label class="control-label">导购员</label>
                    <div class="col-md-2">
                    	<input type="text" class="form-control" value="{$result.shoppingguide}" disabled>
                    </div>
				</div>
                <div class="form-group">
					<label class="control-label">业务员</label>
                    <div class="col-md-2">
                    	<input type="text" class="form-control" value="{$result.agent_user}" disabled>
                    </div>
					<label class="control-label">抵顶人</label>
                    <div class="col-md-2">
                    	<input type="text" class="form-control" value="{$result.reacher}" disabled>
                    </div>
				</div>
            </div>
            <div class="p_title">
                <span class="span_title">使用人信息</span>                
            </div>
            <div class="col-md-12" style="border:1px solid #e2e2e2; padding-top:20px;">
                <div class="form-group">
					<label class="control-label" style="width: 100px">使用人姓名</label>
                    <div class="col-md-2" style="width: 12%">
                    	<input type="text" class="form-control" value="" >
                    </div>
					<label class="control-label" style="width: 45px">性别</label>
                    <div class="col-md-2" style="width: 6%">
                    	<input type="text" class="form-control" style="width: 88px" name="sex" value="" >
                    </div>
					<label class="control-label" style="width: 45px">生于</label>
                    <div class="col-md-2" style="width: 11%">
                    	<input type="text" class="form-control" class="js-datetime" value="" >
                    </div>
					<label class="control-label" style="width: 45px">故于</label>
                    <div class="col-md-2" style="width: 11%">
                    	<input type="text" class="form-control" class="js-datetime" value="" >
                    </div>
					<label class="control-label" style="width: 80px">落葬日期</label>
                    <div class="col-md-2" style="width: 12%">
                    	<input type="text" class="form-control" class="js-datetime" value="" >
                    </div>
					<label class="control-label" style="width: 130px">持证人与使用人关系</label>
                    <div class="col-md-2"  style="width: 12%">
                    	<input type="text" class="form-control" value="" >
                    </div>
				</div>

            </div>
            
            <div id="new_user">
            </div>
            <div class="p_title">
                <span class="span_title">办理挂失</span>
            </div>
            <div class="col-md-12" style="border:1px solid #e2e2e2; padding-top:20px;">
            	<div class="form-group">
                    <label class="control-label" style="width: 80px">挂失原因</label>
                    <div class="col-md-2">
                        <select name="cate" class="form-control">
                            <option value="1">后台设置变更选择项</option>
                        </select>
                    </div>
                    <label class="control-label" style="width: 80px">挂失时间</label>
                    <div class="col-md-2" style="width: 12%">
                        <input type="text" class="form-control" class="js-datetime" name="user_login" value="" >
                    </div>
                    <label class="control-label" style="width: 80px">挂失人</label>
                    <div class="col-md-2" style="width: 12%">
                        <input type="text" class="form-control" name="user_login" value="" >
                    </div>
                    <label class="control-label" style="width: 80px">身份证号</label>
                    <div class="col-md-2" style="width: 12%">
                         <input type="text" class="form-control" name="user_login" value="" >
                    </div>
                    <label class="control-label" style="width: 80px">手机号</label>
                    <div class="col-md-2" style="width: 12%">
                        <input type="text" class="form-control" name="user_login" value="" >
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label" style="width: 80px">验证码</label>
                    <div class="col-md-2">
                        <input type="text" class="form-control" name="user_login" value="" style="width:100px;"><div class="btn btn-primary" id="check-btn">发送验证码</div>
                    </div>
                    <label class="control-label" style="width: 80px">经办人</label>
                    <div class="col-md-2" style="width: 12%">
                        <input type="text" class="form-control" name="user_login" value="" >
                    </div>
                    <label class="control-label" style="width: 80px">工本费</label>
                    <div class="col-md-2" style="width: 14%">
                        <input type="text" class="form-control" name="user_login" value="" style="width:100px;"><div class="btn btn-primary" id="check-btn">确认收款</div>
                    </div>
                    <label class="control-label" style="width: 80px">备注</label>
                    <div class="col-md-2" style="width: 12%">
                        <input type="text" class="form-control" name="user_login" style="width: 500px" value="">
                    </div>
                    
                </div>
                 <div class="form-group">
                    <label class="control-label">签章的挂失业务表</label>
                    <div class="col-md-2">
                        <input type="hidden" name="deceased[qz_file_id]" id="qz_file-file_id" value="">
                        <input type="hidden" name="deceased[qz_file]" id="qz_file" value="">
                        <a href="javascript:gpyUploadOneImage('签章的挂失业务表', '#qz_file','{$result.tomb_num}');">
                            <h5 class="btn btn-primary">上传</h5>
                            <img height="50" src="" id="qz_file-preview" style="cursor: hand"/>
                        </a>
                        <span class="form-required">*签章的挂失业务表</span>

                    </div>
                    <label class="control-label">持证人身份证</label>
                    <div class="col-md-2">
                        <input type="hidden" name="cart_file" id="cart_file" value="">
						<a onClick="uploadOneImage('持证人身份证', '#cart_file','{$result.tomb_num}')">
                            <h5 class="btn btn-primary">上传</h5>
                            <img height="50" src="" id="cart_file-preview" style="cursor: hand"/></a>
						<span class="form-required">*持证人身份证</span>
                    </div>
                    <label class="control-label">《购墓合同》</label>
                    <div class="col-md-2">
                        <input type="hidden" name="pay_file" id="pay_file" value="">
						<a onClick="uploadOneImage('《购墓合同》', '#pay_file','{$result.tomb_num}')">
                            <h5 class="btn btn-primary">上传</h5>
                            <img height="50" src="" id="pay_file-preview" style="cursor: hand"/></a>
						<span class="form-required">*《购墓合同》</span>
                    </div>
                    <label class="control-label">身份关系证明</label>
                    <div class="col-md-2">
                        <input type="hidden" name="gx_file" id="gx_file" value="">
						<a   onClick="uploadOneImage('身份关系证明', '#gx_file','{$result.tomb_num}')">
                            <h5 class="btn btn-primary">上传</h5>
                            <img height="50" src="" id="gx_file-preview" style="cursor: hand"/></a>
						<span class="form-required">*身份关系证明</span>
                    </div>
                 </div>
                <div class="form-group">
                    <label class="control-label">登报声明</label>
                    <div class="col-md-2">
                        <input type="hidden" name="db_file" id="db_file" value="">
						<a  onClick="uploadOneImage('登报声明', '#db_file','{$result.tomb_num}')">
                            <h5 class="btn btn-primary">上传</h5>
                            <img height="50" src="" id="db_file-preview" style="cursor: hand"/></a>
						<span class="form-required">*登报声明</span>
                    </div>
                </div>
            </div>           
			</fieldset>
			<div class="form-actions">
            	<div class="btn btn-primary" id="check-btn">打印结算单</div>
            	<div class="btn btn-primary" id="check-btn">保存</div>
				<div class="btn btn-primary" id="check-btn">提交</div>
			</div>
		</form>        
	</div>

    <script type="text/javascript" src="__STATIC__/js/admin.js?1"></script>
</body>
</html>